/*
 * Copyright (c) 2001-2023 cnstrong.cn Corporation Limited. All rights reserved.
 * This software is the confidential and proprietary information of cnstrong.cn Company.
 * ("Confidential Information").
 * You shall not disclose such Confidential Information and shall use it only
 * in accordance with the terms of the license agreement you entered into with cnstrong.cn.
 */
package com.treeconfig.render.param;

import java.io.Serializable;

import jakarta.validation.constraints.NotBlank;

import lombok.Getter;
import lombok.Setter;

/**
 * 保存项目用户入参
 *
 * @author Braveheart
 * @version V1.0
 * @since 2023-12-29
 */
@Getter
@Setter
public class SaveProjectUserParam implements Serializable {

    private static final long serialVersionUID = 5304633628167128965L;

    /**
     * 主键
     * 有主键更新，无主键新增
     */
    private Long id;

    /**
     * 工程code，即需要使用字典的对应工程的系统名-如consult-service；
     **/
    @NotBlank
    private String projectCode;

    /**
     * 成员姓名
     **/
    @NotBlank
    private String userName;

    /**
     * 成员oa账号
     **/
    @NotBlank
    private String userOa;

    /**
     * 角色编码:pub 普通(查看)，dev 开发(新增、修改)，admin 管理员（新增、修改、删除）
     **/
    @NotBlank
    private String roleCode;

    /**
     * 操作人oa账号
     **/
    @NotBlank
    private String operateUserOa;
}
